<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="schedule.ScheduleVo"%>
<%@page import="java.util.Vector"%>
<%@page import="schedule.Schedule"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<style>
#sun,#sunD {
	color: #ff0000;
}

#sat,#satD {
	color: #0000ff;
}

#line{
	width: 660.044px;
	height: 80px;
	position:relative;
	border-top: 1px solid;
}

#sun,#mon,#sat {
	position:relative;
	text-align: right;
	font-size: 30px;
	width: 94.292px;
	height: 80px;
	float: left;
}

#date{
	position:relative;
	height:auto;
}

#sche{
	position:relative;
	height:auto;
	text-align: left;
	font-size: 20px;
	font-color: #000000;
}
#sunD,#monD,#satD {
	text-align: center;
	font-size: 40px;
	font-family: "Architects Daughter", cursive;
	padding-top: 10px;
	width: 94.291px;
	height: 60px;
	float:left;
	
	background-color: #E6DF23;
}

#sun:hover,#mon:hover,#sat:hover
	{
	background-color: #faa719;
	
}
</style>
</head>
<body>

<jsp:useBean id='vo' class='schedule.ScheduleVo'/>
<jsp:setProperty property="*" name="vo"/>
<%
Schedule s = new Schedule();
s.setVo(vo);
Vector<ScheduleVo> v = s.list();

SimpleDateFormat sd = new SimpleDateFormat("yyyyMMdd");
String now = sd.format(new Date());
int year = Integer.parseInt(now.substring(0,4));
int month = Integer.parseInt(now.substring(4,6));
s.setMonth(month);
s.setYear(year);

%>


</body>
</html>